package edu.pku.sei.transformation.editor.controller.commands.link;

import edu.pku.sei.transformation.editor.model.deploy.Deployment;
import edu.pku.sei.transformation.editor.model.deploy.TransformationEngine;
import edu.pku.sei.transformation.editor.model.deploy.TransformationSourceCode;

public class DeploymentCreateCommand extends AbstractLinkCreateCommand<Deployment, TransformationSourceCode, TransformationEngine>{
	public DeploymentCreateCommand(Deployment d, TransformationSourceCode s) {
		super(d, s);
	}
	
	@Override
	public void execute() {
		link.setCode(source);
		link.setEngine(target);
	}
}
